<template>
  <div>
    <div v-if="hot.type === 'oneAdv'">
      <p>{{ hot.data.title }}</p>
      <img :src="img" alt="" />
    </div>
  </div>
</template>

<script>
export default {
  name: "hot",

  data() {
    return {};
  },

  mounted() {},

  methods: {},
  props: {
    hot: {
      type: Object,
    },
    img:{
      type:String
    }
  },
};
</script>

<style scoped>
img {
  width: 10rem;
  height: 4.8rem;
}
</style>